import winstone.Launcher;

import java.io.IOException;
import java.util.HashMap;
import java.util.Map;


public class WinstoneLauncher {
  public static void main(String[] args) throws IOException {
    Map winstoneArgs = new HashMap();
    winstoneArgs.put("webroot", "."); // or any other command line args, eg port
    Launcher.initLogger(winstoneArgs);
    Launcher winstone = new Launcher(winstoneArgs); // spawns threads, so your application doesn't block

  }
}
